package com.lottery.game.core.modules.mapper;

import com.lottery.game.core.modules.entity.user.TaskLock;

import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface TaskLockDao extends BaseDao<TaskLock> {

	public TaskLock getTaskLockByTaskName(@Param("taskName") String taskName);

	public int updatePortAndUpdateTime(@Param("updateTime") Date updateTime,
          @Param("port") Integer port, @Param("status") Integer status, @Param("id") String id);

}
